package io.renren.service;


import io.renren.common.service.CrudService;
import io.renren.dto.AutomodelsDTO;
import io.renren.dto.CarInfoDTO;
import io.renren.dto.CarTypeDto;
import io.renren.entity.AutomodelsEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * ${comments}
 *
 * @author Sen 524227263@qq.com
 * @since 1.0.0 2024-05-27
 */
public interface AutomodelsService extends CrudService<AutomodelsEntity, AutomodelsDTO> {

    BigDecimal selectMinOneByAutoGroupFK(String autogroupoid);

    BigDecimal selectMaxOneByAutoGroupFK(String autogroupoid);

    List<Map<String, Object>> getCarYearList(String autoGroupFk);

    List<Map<String, Object>> getCarDisplacementList(String autoGroupFk, String autoYear);

    List<Map<String, Object>> getCarConfigList(String autoGroupFk, String autoYear);

    AutomodelsEntity findOneByAutoModelsOID(String automodelsFk);

    List<Map<String, Object>> carTypeList(CarTypeDto dto);
}